package com.piece.module.file.util.pdf;

import com.itextpdf.kernel.colors.Color;
import com.itextpdf.kernel.colors.DeviceRgb;

/**
 * Pdf通用颜色
 **/
public class PdfColor {

    public static Color getThemeColor() {
        return new DeviceRgb(37, 98, 206);
    }

    /**
     * 深绿
     */
    public static Color getDarkGreenColor() {
        return new DeviceRgb(30, 191, 190);
    }

    /**
     * 浅绿
     */
    public static Color getLightGreenColor() {
        return new DeviceRgb(112, 223, 191);
    }

    /**
     * 深灰
     */
    public static Color getDarkGreyColor() {
        return new DeviceRgb(128, 138, 135);
    }

    /**
     * 橙
     */
    public static Color getOrangeColor() {
        return new DeviceRgb(247, 181, 45);
    }

    public static Color getRedColor() {
        return DeviceRgb.RED;
    }

    public static Color getGreenColor() {
        return DeviceRgb.GREEN;
    }

    public static Color getWhiteColor() {
        return DeviceRgb.WHITE;
    }

    public static Color getBlackColor() {
        return DeviceRgb.BLACK;
    }
}
